<%@page import="com.oreilly.servlet.multipart.DefaultFileRenamePolicy"%>
<%@page import="com.oreilly.servlet.MultipartRequest"%>
<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<% request.setCharacterEncoding("euc-kr");%>
<% response.setContentType("text/html; charset=euc-kr");%>
<html>
<head>
<title>test</title>
</head>
<%
	int maxFileSize=1024*1024*10;
	String saveDirectory = application.getRealPath("/upload");

	MultipartRequest multi = new MultipartRequest(request,saveDirectory,maxFileSize,"euc-kr", new DefaultFileRenamePolicy());

	String command = multi.getParameter('command');


%>



<body>



</body>
</html>